package com.aabte.commons.errorcode.exception;

import com.aabte.commons.errorcode.IResponseCode;

/**
 * <p>业务异常</p>
 * <p>业务处理时，出现异常，可以抛出该异常</p>
 * @author Daniel
 */
public class BusinessException extends BaseException {

  private static final long serialVersionUID = 1L;

  public BusinessException(IResponseCode responseCode, String message, Object[] args) {
    super(responseCode, message, args);
  }

  public BusinessException(IResponseCode responseCode, String message, Object[] args,
      Throwable cause) {
    super(responseCode, message, args, cause);
  }
}
